import type {ButtonProps, PopconfirmProps} from 'naive-ui'
import type {CollapseBtnPropsType} from '../XCollapseBtn'

export type PopconfirmBtnPropsType = CollapseBtnPropsType & {
  tip?: string
  cancel?: () => void
  cancelText?: string
  cancelBtnProps?: Partial<ButtonProps>
  confirm?: () => void
  confirmText?: string
  confirmBtnProps?: Partial<ButtonProps>
  popconfirmProps?: Partial<Omit<PopconfirmProps, 'onNegativeClick' | 'negativeText' | 'negativeButtonProps' | 'onPositiveClick' | 'positiveText' | 'positiveButtonProps'>>
}
